Creates an
Bitmapthat points to the bitmap data already stored in the
C1.Util.DX.WIC.BitmapLock.
シンタックス
パラメータ
- renderTarget
- An instance of RenderTarget.
- bitmapLock
- An RenderTargetthat contains the data to share with the new Bitmap.
- bitmapProperties
- The pixel format and DPI of the bitmap to create . The C1.Util.DX.DXGI.Formatportion of the pixel format must match the C1.Util.DX.DXGI.Formatof data or the method will fail, but the alpha modes don't have to match. To prevent a mismatch, you can pass NULL or the value obtained from the {{D2D1::PixelFormat}} helper function. The DPI settings do not have to match those of data. If both dpiX and dpiY are 0.0f, the default DPI, 96, is used.
参照